package com.iworkh.spring.data.jdbc.dao;

import com.iworkh.spring.data.jdbc.domain.entity.Book;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.JdbcTemplate;

/**
 * BookDao
 *
 * @author: iworkh-沐雨云楼
 * @date: 2019-12-19
 */
public class BookDao {

    private JdbcTemplate jdbcTemplate;

    public void setJdbcTemplate(JdbcTemplate jdbcTemplate) {
        this.jdbcTemplate = jdbcTemplate;
    }

    public void save(Book book){
        System.out.println(jdbcTemplate);
    }

}
